.class public Lcom/estrongs/android/pop/app/scene/show/notification/style/c;
.super Ljava/lang/Object;
.source "SceneNotificationStyle02.java"

# interfaces
.implements Lcom/estrongs/android/pop/app/scene/show/notification/style/a;


# instance fields
.field protected a:Landroid/content/Context;

.field protected b:Lcom/estrongs/android/pop/app/scene/info/show/InfoShowSceneNotification;

.field private c:Lcom/estrongs/android/pop/app/scene/show/notification/style/a$a;


# direct methods
.method public constructor <init>(Landroid/content/Context;Lcom/estrongs/android/pop/app/scene/info/show/InfoShowSceneNotification;)V
    .locals 0

    .line 1
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    .line 2
    iput-object p1, p0, Lcom/estrongs/android/pop/app/scene/show/notification/style/c;->a:Landroid/content/Context;

    .line 3
    iput-object p2, p0, Lcom/estrongs/android/pop/app/scene/show/notification/style/c;->b:Lcom/estrongs/android/pop/app/scene/info/show/InfoShowSceneNotification;

    return-void
.end method

.method static synthetic a(Lcom/estrongs/android/pop/app/scene/show/notification/style/c;)Lcom/estrongs/android/pop/app/scene/show/notification/style/a$a;
    .locals 0

    .line 2
    iget-object p0, p0, Lcom/estrongs/android/pop/app/scene/show/notification/style/c;->c:Lcom/estrongs/android/pop/app/scene/show/notification/style/a$a;

    return-object p0
.end method

.method private a(Landroid/graphics/Bitmap;Landroid/graphics/Bitmap;)Lcom/estrongs/android/pop/app/scene/show/notification/style/a$b;
    .locals 2

    .line 14
    invoke-virtual {p0, p2}, Lcom/estrongs/android/pop/app/scene/show/notification/style/c;->b(Landroid/graphics/Bitmap;)Landroid/widget/RemoteViews;

    move-result-object p2

    .line 15
    invoke-virtual {p0, p1}, Lcom/estrongs/android/pop/app/scene/show/notification/style/c;->a(Landroid/graphics/Bitmap;)Landroid/widget/RemoteViews;

    move-result-object p1

    if-eqz p2, :cond_1

    if-nez p1, :cond_0

    goto :goto_0

    .line 16
    :cond_0
    new-instance v0, Lcom/estrongs/android/pop/app/scene/show/notification/style/a$b;

    invoke-direct {v0}, Lcom/estrongs/android/pop/app/scene/show/notification/style/a$b;-><init>()V

    .line 17
    iget-object v1, p0, Lcom/estrongs/android/pop/app/scene/show/notification/style/c;->b:Lcom/estrongs/android/pop/app/scene/info/show/InfoShowSceneNotification;

    iget-boolean v1, v1, Lcom/estrongs/android/pop/app/scene/info/show/InfoShowSceneNotification;->isHeadUp:Z

    iput-boolean v1, v0, Lcom/estrongs/android/pop/app/scene/show/notification/style/a$b;->c:Z

    .line 18
    iput-object p2, v0, Lcom/estrongs/android/pop/app/scene/show/notification/style/a$b;->a:Landroid/widget/RemoteViews;

    .line 19
    iput-object p1, v0, Lcom/estrongs/android/pop/app/scene/show/notification/style/a$b;->b:Landroid/widget/RemoteViews;

    return-object v0

    :cond_1
    :goto_0
    const/4 p1, 0x0

    return-object p1
.end method

.method static synthetic a(Lcom/estrongs/android/pop/app/scene/show/notification/style/c;Landroid/graphics/Bitmap;Landroid/graphics/Bitmap;)Lcom/estrongs/android/pop/app/scene/show/notification/style/a$b;
    .locals 0

    .line 3
    invoke-direct {p0, p1, p2}, Lcom/estrongs/android/pop/app/scene/show/notification/style/c;->a(Landroid/graphics/Bitmap;Landroid/graphics/Bitmap;)Lcom/estrongs/android/pop/app/scene/show/notification/style/a$b;

    move-result-object p0

    return-object p0
.end method

.method private a(Landroid/graphics/Bitmap;Lcom/estrongs/android/pop/app/scene/info/show/InfoShowSceneNotificationBig;)V
    .locals 1

    .line 10
    iget-object p2, p2, Lcom/estrongs/android/pop/app/scene/info/show/InfoShowSceneNotificationBig;->bgImg:Ljava/lang/String;

    new-instance v0, Lcom/estrongs/android/pop/app/scene/show/notification/style/c$b;

    invoke-direct {v0, p0, p1}, Lcom/estrongs/android/pop/app/scene/show/notification/style/c$b;-><init>(Lcom/estrongs/android/pop/app/scene/show/notification/style/c;Landroid/graphics/Bitmap;)V

    invoke-static {p2, v0}, Les/qg;->a(Ljava/lang/String;Les/ug0;)V

    return-void
.end method

.method private a(Lcom/estrongs/android/pop/app/scene/info/show/InfoShowSceneNotificationBig;)V
    .locals 2

    .line 9
    iget-object v0, p1, Lcom/estrongs/android/pop/app/scene/info/show/InfoShowSceneNotificationBig;->bigImg:Ljava/lang/String;

    new-instance v1, Lcom/estrongs/android/pop/app/scene/show/notification/style/c$a;

    invoke-direct {v1, p0, p1}, Lcom/estrongs/android/pop/app/scene/show/notification/style/c$a;-><init>(Lcom/estrongs/android/pop/app/scene/show/notification/style/c;Lcom/estrongs/android/pop/app/scene/info/show/InfoShowSceneNotificationBig;)V

    invoke-static {v0, v1}, Les/qg;->a(Ljava/lang/String;Les/ug0;)V

    return-void
.end method

.method static synthetic a(Lcom/estrongs/android/pop/app/scene/show/notification/style/c;Landroid/graphics/Bitmap;Lcom/estrongs/android/pop/app/scene/info/show/InfoShowSceneNotificationBig;)V
    .locals 0

    .line 1
    invoke-direct {p0, p1, p2}, Lcom/estrongs/android/pop/app/scene/show/notification/style/c;->a(Landroid/graphics/Bitmap;Lcom/estrongs/android/pop/app/scene/info/show/InfoShowSceneNotificationBig;)V

    return-void
.end method


# virtual methods
.method protected a(Landroid/graphics/Bitmap;)Landroid/widget/RemoteViews;
    .locals 3

    if-nez p1, :cond_0

    const/4 p1, 0x0

    return-object p1

    .line 11
    :cond_0
    new-instance v0, Landroid/widget/RemoteViews;

    iget-object v1, p0, Lcom/estrongs/android/pop/app/scene/show/notification/style/c;->a:Landroid/content/Context;

    invoke-virtual {v1}, Landroid/content/Context;->getPackageName()Ljava/lang/String;

    move-result-object v1

    const v2, 0x7f0c0272

    invoke-direct {v0, v1, v2}, Landroid/widget/RemoteViews;-><init>(Ljava/lang/String;I)V

    const v1, 0x7f0907ce

    .line 12
    iget-object v2, p0, Lcom/estrongs/android/pop/app/scene/show/notification/style/c;->b:Lcom/estrongs/android/pop/app/scene/info/show/InfoShowSceneNotification;

    iget-object v2, v2, Lcom/estrongs/android/pop/app/scene/info/show/InfoShowScene;->title:Ljava/lang/String;

    invoke-virtual {v0, v1, v2}, Landroid/widget/RemoteViews;->setTextViewText(ILjava/lang/CharSequence;)V

    const v1, 0x7f0907c9

    .line 13
    invoke-virtual {v0, v1, p1}, Landroid/widget/RemoteViews;->setImageViewBitmap(ILandroid/graphics/Bitmap;)V

    return-object v0
.end method

.method public a(Lcom/estrongs/android/pop/app/scene/show/notification/style/a$a;)V
    .locals 1

    .line 4
    iput-object p1, p0, Lcom/estrongs/android/pop/app/scene/show/notification/style/c;->c:Lcom/estrongs/android/pop/app/scene/show/notification/style/a$a;

    .line 5
    iget-object p1, p0, Lcom/estrongs/android/pop/app/scene/show/notification/style/c;->b:Lcom/estrongs/android/pop/app/scene/info/show/InfoShowSceneNotification;

    check-cast p1, Lcom/estrongs/android/pop/app/scene/info/show/InfoShowSceneNotificationBig;

    .line 6
    iget-object v0, p1, Lcom/estrongs/android/pop/app/scene/info/show/InfoShowSceneNotificationBig;->bigImg:Ljava/lang/String;

    invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v0

    if-nez v0, :cond_1

    iget-object v0, p1, Lcom/estrongs/android/pop/app/scene/info/show/InfoShowSceneNotificationBig;->bgImg:Ljava/lang/String;

    invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v0

    if-eqz v0, :cond_0

    goto :goto_0

    .line 7
    :cond_0
    invoke-direct {p0, p1}, Lcom/estrongs/android/pop/app/scene/show/notification/style/c;->a(Lcom/estrongs/android/pop/app/scene/info/show/InfoShowSceneNotificationBig;)V

    return-void

    .line 8
    :cond_1
    :goto_0
    iget-object p1, p0, Lcom/estrongs/android/pop/app/scene/show/notification/style/c;->c:Lcom/estrongs/android/pop/app/scene/show/notification/style/a$a;

    invoke-interface {p1}, Lcom/estrongs/android/pop/app/scene/show/notification/style/a$a;->onFail()V

    return-void
.end method

.method protected b(Landroid/graphics/Bitmap;)Landroid/widget/RemoteViews;
    .locals 3

    if-nez p1, :cond_0

    const/4 p1, 0x0

    return-object p1

    .line 1
    :cond_0
    new-instance v0, Landroid/widget/RemoteViews;

    iget-object v1, p0, Lcom/estrongs/android/pop/app/scene/show/notification/style/c;->a:Landroid/content/Context;

    invoke-virtual {v1}, Landroid/content/Context;->getPackageName()Ljava/lang/String;

    move-result-object v1

    const v2, 0x7f0c0271

    invoke-direct {v0, v1, v2}, Landroid/widget/RemoteViews;-><init>(Ljava/lang/String;I)V

    const v1, 0x7f0907ce

    .line 2
    iget-object v2, p0, Lcom/estrongs/android/pop/app/scene/show/notification/style/c;->b:Lcom/estrongs/android/pop/app/scene/info/show/InfoShowSceneNotification;

    iget-object v2, v2, Lcom/estrongs/android/pop/app/scene/info/show/InfoShowScene;->title:Ljava/lang/String;

    invoke-virtual {v0, v1, v2}, Landroid/widget/RemoteViews;->setTextViewText(ILjava/lang/CharSequence;)V

    const v1, 0x7f0907ca

    .line 3
    invoke-virtual {v0, v1, p1}, Landroid/widget/RemoteViews;->setImageViewBitmap(ILandroid/graphics/Bitmap;)V

    return-object v0
.end method

.method public isEnabled()Z
    .locals 3

    .line 1
    iget-object v0, p0, Lcom/estrongs/android/pop/app/scene/show/notification/style/c;->b:Lcom/estrongs/android/pop/app/scene/info/show/InfoShowSceneNotification;

    instance-of v1, v0, Lcom/estrongs/android/pop/app/scene/info/show/InfoShowSceneNotificationBig;

    const/4 v2, 0x0

    if-nez v1, :cond_0

    return v2

    .line 2
    :cond_0
    check-cast v0, Lcom/estrongs/android/pop/app/scene/info/show/InfoShowSceneNotificationBig;

    .line 3
    iget-object v1, v0, Lcom/estrongs/android/pop/app/scene/info/show/InfoShowScene;->title:Ljava/lang/String;

    invoke-static {v1}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v1

    if-nez v1, :cond_2

    iget-object v1, v0, Lcom/estrongs/android/pop/app/scene/info/show/InfoShowSceneNotificationBig;->bigImg:Ljava/lang/String;

    .line 4
    invoke-static {v1}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v1

    if-nez v1, :cond_2

    iget-object v0, v0, Lcom/estrongs/android/pop/app/scene/info/show/InfoShowSceneNotificationBig;->bgImg:Ljava/lang/String;

    .line 5
    invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v0

    if-eqz v0, :cond_1

    goto :goto_0

    :cond_1
    const/4 v0, 0x1

    return v0

    :cond_2
    :goto_0
    const-string v0, "========title\u3001bigImg\u3001bgImg\u4e3a\u7a7a"

    .line 6
    invoke-static {v0}, Lcom/estrongs/android/util/n;->b(Ljava/lang/String;)V

    return v2
.end method
